<?php
require_once('CView.php');
class CURL extends CView
{
	public $url;
	public $label;
	
	public function __construct($url, $label)
	{
		parent::__construct();
		$this->url = $url;
		$this->label = $label;
	}
	
	public function render()
	{
		return '<a'.$this->print_class().$this->print_id().'href="'.$this->url.'">'. $this->label.'</a>';
	}
}
?>